package com.base.service;


import com.base.po.voip.Refund;
import com.base.utils.Page;

import java.util.List;

/**
 * @author PQ
 * @Date 2019/8/23 11:14
 */
public interface RefundService {

    Integer insertNews(String userId, String parentId, String orderId, String remark);

    Integer countByAll(String userId, String orderId, String parentId, String createTime, String status, String orderNum);

    List<Refund> selectByAll(Page page, String userId, String orderId, String parentId, String createTime, String status, String orderNum);

    void updateStatus(String id, int status);//更新退款状态

    boolean isRefund(String orderId);//判断是否退款

    String getIdByOrderId(String Orderid);//根据OrderId获取refundId

//    Integer countByAllRecord(String parentId); //计算出所有的记录
}
